#include "my_trie.h"

int main()
{
	int i = 0;
	int num = 0;
	int *tmp = NULL;

	sys_says("Test...\n");
	
	trie_init();
	trie_insert("jx", 1);
	trie_insert("jx", 5);
	trie_insert("jx", 7);
	tmp = trie_find("jx", &num);
	if ( tmp == NULL ) {
		sys_says("no num...\n");
		return -1;
	}

	sys_says("num : ");
	for ( ; i < num; i++ ) {
		sys_says("%d  ", *(tmp+i));
	}
	sys_says("\n");

	trie_destroy(root);

	return 0;
}
